<p class="post_meta">ID #<?=$this->result['uid']?></p>

<p id="post<?=$this->result['uid']?>"><?=nl2br($this->BBCode($this->escape($this->result['text'], null, 'utf-8'), $this->result['smilies']))?></p> 
<br />

<?=nl2br($this->BBCode($this->escape($this->result['signature'], null, 'utf-8')))?>

<?if($this->result['count_edit'] > 0):?>
	<br />
	<span class="post_edited">
		<?=MHDEV_Sprintf($this->translate->_('post_edited'), array('%sum' => $this->result['count_edit'], '%date' => $this->datetime($this->result['edit_date'])))?>
	</span>
<?endif;?>

<?if($this->result['is_public'] == 0):?>
	<p class="notice_bad">
		<?=$this->translate->_('post_nonpublic')?> 
		<a class="button_mod" href="<?=$this->url(array('controller' => 'posts', 'action' => 'setpublic', 'uid' => $this->result['uid']), 'default', true)?>">
			<?=$this->translate->_('post_public_button')?>
		</a>
	</p>
<?endif;?>